package com.arr;

public class TestString {
	public static void main(String args[]){
		String s1 = new String("text");
		System.out.println(s1);
		
		char[] c = {'s','U','n'};
		String s4 = new String(c);
		String s5 = new String(c,1,2);
		System.out.println(s4.charAt(2));
		System.out.println(s4.length());
		System.out.println(s4.indexOf("un"));
		System.out.println(s4.equalsIgnoreCase("SUN"));
		System.out.println(s4.toUpperCase());
		
	}
}
